/*
 * Borne.h
 *
 *  Created on: 5 déc. 2009
 *      Author: math
 */

#ifndef BORNE_H_
#define BORNE_H_

#include "LutColor.h"

class LutBound {
private:
        double m_b;
        LutColor m_color;

public:
        LutBound();
        LutBound(double val, int I1, int I2, int I3, eLutColorSpace I4);
        LutBound(const LutBound& color);
        LutBound(double val, const LutColor& color);
        LutBound(int I1, int I2, int I3, eLutColorSpace I4);
        LutBound(double val);
        ~LutBound();

        bool operator< (const LutBound &) const;
        void setValue(float attr);
        double getValue() const {return m_b;}
        LutColor getColor() const {return m_color;}
        void setColor(int C1, int C2, int C3);
        void setColor(LutColor color);
};

#endif /* BORNE_H_ */
